<div class="content-box" >

    <h2>#i18n{customisation.manage_customisation.tableLabel} : ${one_role.roleDescription}</h2>
	
	<form method="post" action="jsp/admin/plugins/customisation/DoModifyCustomisation.jsp">
	    <#if customisation_list_type_portlet?has_content>    
		    <table>
		        <tr>
					<th width="50%" >#i18n{customisation.manage_customisation.columnTitleId}</th>
		            <th width="50%" >#i18n{customisation.manage_customisation.columnTitleLabel}</th>
		        </tr>
		               
		        <#list customisation_list_type_portlet?sort_by('name') as list_portlet_type >	                
		        <tr>
		            <td width="50%" >
		                <#assign checked = "" >
		                <#list customisation_list_type_portlet_available as list_type_portlet_available>
			                <#if list_portlet_type.id = list_type_portlet_available.idPortletType >
				                <#assign checked >checked="checked"</#assign>
				                <#break>
			                </#if>	
		                </#list>			            
		                <input class="checkbox" type=checkbox name="portlet_type_authorized" value="${list_portlet_type.id}" ${checked} />
						${list_portlet_type.id}
		            </td>
		            <td width="50%">
						${list_portlet_type.nameKey}
		            </td>
		        </tr>
		        </#list>	
		    </table>
	    <#else>
			#i18n{customisation.manage_customisation.portlet_list_empty}
	    </#if>
			<br>
			<input type=submit value="#i18n{customisation.create_customisation.buttonLabelValidate}" class="button" />
			<input type=button onClick="javascript:history.go(-1)" value="#i18n{customisation.create_customisation.buttonLabelCancel}" class="button" />         
    </form>

</div>




